object F_SelecionaEntrega: TF_SelecionaEntrega
  Left = 413
  Top = 183
  Width = 790
  Height = 491
  Caption = 'F_SelecionaEntrega'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 507
    Top = 16
    Width = 72
    Height = 16
    Caption = 'Data Inicial'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label2: TLabel
    Left = 647
    Top = 16
    Width = 65
    Height = 16
    Caption = 'Data Final'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object wwDBGrid1: TwwDBGrid
    Left = 7
    Top = 64
    Width = 762
    Height = 311
    DisableThemes = False
    Selected.Strings = (
      'SELECIONA'#9'3'#9'Ent.'#9#9
      'MODO_VENDA'#9'5'#9'Cupom'#9#9
      'NOME_CLIENTE'#9'31'#9'Cliente'#9#9
      'ENDERECO2'#9'32'#9'Entrega'#9#9
      'BAIRRO'#9'40'#9'Bairro'#9'F'
      'TELEFONE'#9'18'#9'Telefone'#9'F'
      'CIDADE'#9'40'#9'Cidade'#9'F'
      'DATA_VENDA'#9'12'#9'DATA_VENDA'#9#9
      'USERNAME'#9'30'#9'USERNAME'#9#9
      'TERMINAL'#9'9'#9'TERMINAL'#9#9
      'COD_CLIENTE'#9'12'#9'COD_CLIENTE'#9#9
      'ESTORNADO'#9'11'#9'ESTORNADO'#9#9
      'MODO_LANCAMENTO'#9'18'#9'MODO_LANCAMENTO'#9#9)
    IniAttributes.Delimiter = ';;'
    TitleColor = clBtnFace
    FixedCols = 0
    ShowHorzScrollBar = True
    DataSource = DataSource1
    Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgPerfectRowFit]
    TabOrder = 0
    TitleAlignment = taLeftJustify
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    TitleLines = 1
    TitleButtons = False
    OnKeyDown = wwDBGrid1KeyDown
  end
  object Panel1: TPanel
    Left = 0
    Top = 387
    Width = 774
    Height = 66
    Align = alBottom
    Color = clMenuHighlight
    TabOrder = 1
    object B_Imprimir: TBitBtn
      Left = 624
      Top = 10
      Width = 143
      Height = 50
      Caption = ' Im&primir'
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnClick = B_ImprimirClick
      Glyph.Data = {
        F6060000424DF606000000000000360000002800000018000000180000000100
        180000000000C0060000120B0000120B00000000000000000000FF00FFFF00FF
        FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF999697BDBBBC
        9D9A9A898687FF00FFFF00FF979596C6C6C6D0CFCFAFACAC989596FF00FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF999697B7
        B5B6F0EFEFF4F3F3AAA7A79D9A9A4241424644456E6C6D999797BCBBBBDAD9D9
        E0E0E0C9C7C7A3A0A1FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF9896
        97A9A5A6E3E2E2FFFEFEFCFBFBEFEEEEA7A5A59E9C9C3332341212131C1C1D2A
        2A2C4745476D6A6C9A9898C5C4C4E2E1E1D4D3D3959192FF00FFFF00FFFF00FF
        FF00FF9A9899D8D5D5FCFBFBFBFAFAF8F7F7FBFAFAE7E5E6A3A0A0A3A0A0807F
        805453543332341E1E1F1616171A1A1C29292B454445736F70918F8FFF00FFFF
        00FFFF00FF8E8A8BC4C1C1F6F4F4FAF8F8F4F3F3F4F3F3E3E2E2B8B7B7989697
        8986878C8A8A9A9798A5A1A39F9D9D878686605F603D3C3D2222231415162B2A
        2C8A8788FF00FFFF00FFFF00FF8E8A8BEBEBEBF0F0F0EDEBEBD9D8D8B0ADAD96
        9293A6A4A4C7C6C6A4A1A1928F8F8B88898884868B8989969293A19F9EA19F9F
        918F906A696A5151528B8989FF00FFFF00FFFF00FF8E8A8BDEDDDDD0CFCFA7A5
        A5939091A7A5A5CAC9CAD5D7D5DCDADAE1E0E0CCCACABAB7B7A7A5A59A97988F
        8B8C8A8788898687918E8E9D9999A3A0A0918F8FFF00FFFF00FFFF00FF8E8A8B
        9E9C9D939191A9A7A7C7C7C7D1D3D3CECECEC9C9C9E6E5E5F6F4F4F3F3F3EDEB
        EBE0DEDECFCECEBFBDBDAFACACA19F9F9592928C8A8A8A8788868283FF00FFFF
        00FFFF00FF8E8A8BAAA7A9C9C7C7CFCFCFCBCBCBCACACAC6C6C6DADADAF4F3F3
        B5B2B4B6AAB4C4C1C2D8D7D7E1E1E1E2E2E2D9D9D9CECECEC1C0C0B4B2B2AAA7
        A7928F90FF00FFFF00FFFF00FF8E8A8BCACACACCCCCCCACACACACACAC7C7C7D7
        D7D7F4F3F3AFAAAC999E9866B06A9EA39D9995979C9A9AAAA9A9BBBABACCCBCB
        D1D1D1D1D1D1CFCFCF9A9999FF00FFFF00FFFF00FFFF00FFADABACD0D0D0CCCE
        CECECECEDEDEDEE3E2E2A4A1A1ABA9AAEEEEEDC7EDC9E5E9E5E0DDDEF8AF9AB0
        ADAF9F9D9D9591929A9798ABA9A9ABA9AAA39FA0FF00FFFF00FFFF00FFFF00FF
        FF00FFA19FA0BBBABACAC9C9B6B4B4999797BDBBBBF4F3F3F4F3F3F4EEF3EAE7
        E7E5E3E3E2E2E2E1E1E1D9D9D9CECECEBFBFBF9592938F8B8CFF00FFFF00FFFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FF8A8788A9A7A7D1D1D1BFBFBF989999
        BABABAD3D1D1DEDDDDE1E0E0DEDEDEDCDCDCDDDDDDD7D7D7B5B5B5A7A4A5FF00
        FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF9D9A9CF3F4F4F4
        F3F2D9D5D4AAA7A7A7A9A9B4B7B8C7CBCCC9CCCCCCCECECCCCCCB6B5B6989697
        A7A4A5FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
        FFFF00FFE9CECCFFE3D9FFDDCFFED5C7F8D3C6F3D1C6EDD1CAE6D4CFDED8D5D0
        D0D0B8B7B8FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
        FF00FFFF00FFFF00FFFF00FFDDB4B0FFE0D3FFD8C9FFCFC0FFC7B5FFC0AAFFBA
        A4FFB79FFCB099E5C5C1FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFDEB5B0FFE5D8FFD8C9FFCFC0
        FFC9B7FEC1ADFEBBA5FFB49CF7A691FF00FFFF00FFFF00FFFF00FFFF00FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFE6BFB8FF
        E5D8FFD8C9FFCFC0FFC9B7FEC1ADFEBBA5FFB59DEBA08FFF00FFFF00FFFF00FF
        FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
        FFFF00FFE1BDB8FFE2D5FFD8C9FFCFC0FFC9B7FEC1ADFEBBA5FFB59DF8AF9AFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
        FF00FFFF00FFFF00FFFF00FFE1BDB8FFE0D3FFD8C9FFCFC0FFC9B7FEC1ADFFBB
        A5F8AF9AF8AF9AFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FFE0BAB5FFEDE2FFE0D3FFD8C9FFCFC0
        FEC9B7FEC2ADFFBDA6F8AF9AFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFE1BDB8FFF0E5FF
        E5D8FFDECEFFD5C5FFCEBBFFC7B2EDAB9CF8AF9AFF00FFFF00FFFF00FFFF00FF
        FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFCE9F
        9DE1BDB8E0B7B2E0B5ADE0B1A9E0ACA5E0AAA0DDA39AF8AF9AFF00FFFF00FFFF
        00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
    end
  end
  object GroupBox1: TGroupBox
    Left = 8
    Top = 8
    Width = 241
    Height = 52
    TabOrder = 2
    object R_Entregar: TRadioButton
      Left = 8
      Top = 21
      Width = 65
      Height = 17
      Caption = 'Entregar'
      TabOrder = 0
      OnKeyUp = R_EntregarKeyUp
      OnMouseUp = R_EntregarMouseUp
    end
    object R_Entregue: TRadioButton
      Left = 88
      Top = 21
      Width = 64
      Height = 17
      Caption = 'Entregue'
      TabOrder = 1
      OnKeyUp = R_EntregueKeyUp
      OnMouseUp = R_EntregueMouseUp
    end
    object R_Todos: TRadioButton
      Left = 176
      Top = 21
      Width = 57
      Height = 17
      Caption = 'Todos'
      TabOrder = 2
      OnKeyUp = R_TodosKeyUp
      OnMouseUp = R_TodosMouseUp
    end
  end
  object E_DataInicial: TDateEdit
    Left = 507
    Top = 32
    Width = 121
    Height = 21
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    NumGlyphs = 2
    ParentFont = False
    TabOrder = 3
  end
  object E_DataFinal: TDateEdit
    Left = 647
    Top = 32
    Width = 121
    Height = 21
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Arial'
    Font.Style = [fsBold]
    NumGlyphs = 2
    ParentFont = False
    TabOrder = 4
  end
  object GroupBox2: TGroupBox
    Left = 256
    Top = 7
    Width = 236
    Height = 53
    TabOrder = 5
    object R_Descrimina: TRadioButton
      Left = 15
      Top = 23
      Width = 93
      Height = 17
      Caption = 'Discrimina'
      TabOrder = 0
    end
    object R_NaoDescrimina: TRadioButton
      Left = 128
      Top = 23
      Width = 93
      Height = 17
      Caption = 'N'#227'o Discrimina'
      TabOrder = 1
    end
  end
  object DataSource1: TDataSource
    DataSet = IBQuery1
    Left = 296
  end
  object IBQuery1: TIBQuery
    Database = Menu_Retaguarda.IBD_Retaguarda
    Transaction = Menu_Retaguarda.IBT_Retaguarda
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      
        'select distinct  mv_movimento.modo_venda, mv_movimento.data_vend' +
        'a, mv_movimento.username, mv_movimento.seleciona, mv_movimento.t' +
        'erminal, mv_movimento.cod_cliente, mv_movimento.estornado, mv_mo' +
        'vimento.modo_lancamento, '
      
        'clientes.nome_cliente, clientes.endereco2, clientes.bairro, clie' +
        'ntes.cidade, clientes.telefone '
      'from mv_movimento inner join clientes '
      'on (mv_movimento.cod_cliente = clientes.codigo) ')
    Left = 296
    Top = 32
    object IBQuery1SELECIONA: TIBStringField
      DisplayLabel = 'Ent.'
      DisplayWidth = 3
      FieldName = 'SELECIONA'
      Origin = 'MV_MOVIMENTO.SELECIONA'
      Size = 3
    end
    object IBQuery1MODO_VENDA: TIntegerField
      DisplayLabel = 'Cupom'
      DisplayWidth = 5
      FieldName = 'MODO_VENDA'
      Origin = 'MV_MOVIMENTO.MODO_VENDA'
    end
    object IBQuery1NOME_CLIENTE: TIBStringField
      DisplayLabel = 'Cliente'
      DisplayWidth = 31
      FieldName = 'NOME_CLIENTE'
      Origin = 'CLIENTES.NOME_CLIENTE'
      Size = 60
    end
    object IBQuery1ENDERECO2: TIBStringField
      DisplayLabel = 'Entrega'
      DisplayWidth = 32
      FieldName = 'ENDERECO2'
      Origin = 'CLIENTES.ENDERECO2'
      Size = 100
    end
    object IBQuery1BAIRRO: TIBStringField
      DisplayLabel = 'Bairro'
      DisplayWidth = 40
      FieldName = 'BAIRRO'
      Origin = 'CLIENTES.BAIRRO'
      Size = 40
    end
    object IBQuery1TELEFONE: TIBStringField
      DisplayLabel = 'Telefone'
      DisplayWidth = 18
      FieldName = 'TELEFONE'
      Origin = 'CLIENTES.TELEFONE'
      Size = 18
    end
    object IBQuery1CIDADE: TIBStringField
      DisplayLabel = 'Cidade'
      DisplayWidth = 40
      FieldName = 'CIDADE'
      Origin = 'CLIENTES.CIDADE'
      Size = 40
    end
    object IBQuery1DATA_VENDA: TDateField
      DisplayWidth = 12
      FieldName = 'DATA_VENDA'
      Origin = 'MV_MOVIMENTO.DATA_VENDA'
    end
    object IBQuery1USERNAME: TIBStringField
      DisplayWidth = 30
      FieldName = 'USERNAME'
      Origin = 'MV_MOVIMENTO.USERNAME'
      Size = 30
    end
    object IBQuery1TERMINAL: TIBStringField
      DisplayWidth = 9
      FieldName = 'TERMINAL'
      Origin = 'MV_MOVIMENTO.TERMINAL'
      Size = 2
    end
    object IBQuery1COD_CLIENTE: TIntegerField
      DisplayWidth = 12
      FieldName = 'COD_CLIENTE'
      Origin = 'MV_MOVIMENTO.COD_CLIENTE'
    end
    object IBQuery1ESTORNADO: TIntegerField
      DisplayWidth = 11
      FieldName = 'ESTORNADO'
      Origin = 'MV_MOVIMENTO.ESTORNADO'
    end
    object IBQuery1MODO_LANCAMENTO: TIntegerField
      DisplayWidth = 18
      FieldName = 'MODO_LANCAMENTO'
      Origin = 'MV_MOVIMENTO.MODO_LANCAMENTO'
    end
  end
  object QrySomaProdutos: TIBQuery
    Database = Menu_Retaguarda.IBD_Retaguarda
    Transaction = Menu_Retaguarda.IBT_Retaguarda
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      
        'select mv_movimento.cod_produto, produtos.nome_produto, mv_movim' +
        'ento.quant, mv_movimento.modo_venda, mv_movimento.terminal from ' +
        'MV_MOVIMENTO'
      
        ' left join produtos on (mv_movimento.cod_produto = produtos.codi' +
        'go)'
      '')
    Left = 672
    Top = 248
    object QrySomaProdutosCOD_PRODUTO: TIntegerField
      FieldName = 'COD_PRODUTO'
      Origin = 'MV_MOVIMENTO.COD_PRODUTO'
    end
    object QrySomaProdutosNOME_PRODUTO: TIBStringField
      FieldName = 'NOME_PRODUTO'
      Origin = 'PRODUTOS.NOME_PRODUTO'
      FixedChar = True
      Size = 60
    end
    object QrySomaProdutosQUANT: TIBBCDField
      FieldName = 'QUANT'
      Origin = 'MV_MOVIMENTO.QUANT'
      Precision = 18
      Size = 3
    end
    object QrySomaProdutosMODO_VENDA: TIntegerField
      FieldName = 'MODO_VENDA'
      Origin = 'MV_MOVIMENTO.MODO_VENDA'
    end
    object QrySomaProdutosTERMINAL: TIBStringField
      FieldName = 'TERMINAL'
      Origin = 'MV_MOVIMENTO.TERMINAL'
      FixedChar = True
      Size = 2
    end
  end
end
